package com.itxiuyixiu.homework.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.time.LocalDateTime;

/**
 * @author 黄磊
 * @date 2020/3/5
 */
public interface MajorVo {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    Integer getId();

    @JsonInclude(JsonInclude.Include.NON_NULL)
    String getMajorName();

    @JsonInclude(JsonInclude.Include.NON_NULL)
    Integer getAcademyId();

    @JsonInclude(JsonInclude.Include.NON_NULL)
    AcademyVo getAcademy();

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Shanghai")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    LocalDateTime getGmtCreated();

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Shanghai")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    LocalDateTime getGmtModified();
}
